PROJECT(vortparser)

SET(VortParser_SRC
  vortanalize.cpp
  preWords.cpp
  preWords.h
  dicReader.cpp
  )
SOURCE_GROUP(VortParser FILES ${VortParser_SRC})

SET(Utf8Reader_SRC
  ../other/utf8reader/gel.cpp
  ../other/utf8reader/stxutif.h
  )
SOURCE_GROUP(Utf8Reader FILES ${Utf8Reader_SRC})


#INCLUDE_DIRECTORIES( )

ADD_DEFINITIONS(
  -DUNICODE
  -D_UNICODE
  -D_WIN32_WINNT=0x0501)

IF(MSVC)
    SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS_INIT} /ENTRY:mainCRTStartup")
ENDIF()

ADD_EXECUTABLE(VortParser WIN32 ${VortParser_SRC} ${Utf8Reader_SRC})
TARGET_LINK_LIBRARIES(VortParser)
